﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HomeWork06
{
    public class MyException: Exception
    {
        private string error;
        public MyException(){}
        public MyException(string s)
        {
            this.error = s;
        }
        public override string ToString()
        {
            return error;
        }
    }
}
